package com.mcc.app.finish.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.util.Date;
import java.io.Serializable;

/**
 * 成品检化验结果对象 finished_test_analysis
 *
 * @author gxy
 * @date 2025-04-03
 */
@ApiModel("成品检化验结果对象")
@Data
public class FinishedTestAnalysis implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId
    @ApiModelProperty("主键")
    private Integer id;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty("发布时间")
    private Date releaseTime;

    @ApiModelProperty("质检编号")
    private String qualityCode;

    @ApiModelProperty("取样单号")
    private String samplingOrder;

    @ApiModelProperty("TFe")
    private Double compTfe;

    @ApiModelProperty("FeO")
    private Double compFeo;

    @ApiModelProperty("CaO")
    private Double compCao;

    @ApiModelProperty("MgO")
    private Double compMgo;

    @ApiModelProperty("SiO2")
    private Double compSio2;

    @ApiModelProperty("AI2O3")
    private Double compAl2o3;

    @ApiModelProperty("R2")
    private Double compR2;

    @ApiModelProperty("P")
    private Double compP;

    @ApiModelProperty("TiO2")
    private Double compTio2;

    @ApiModelProperty("S")
    private Double compS;

    @ApiModelProperty("MnO")
    private Double compMno;

    @ApiModelProperty("Zn")
    private Double compZn;

    @ApiModelProperty("Cr")
    private Double compCr;

    @ApiModelProperty("是否合格")
    private String qualified;

    @ApiModelProperty("创建者")
    private String createBy;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("更新者")
    private String updateBy;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty("更新时间")
    private Date updateTime;

    @ApiModelProperty("备注")
    private String remark;

    @TableField(exist = false)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date startDt;

    @TableField(exist = false)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endDt;

}
